/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package TCPFile;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import ni.NI;

/**
 *
 * @author yorrickbarnay
 */
public class TCPThread extends Thread{
    
    private NI _chat; 
    int _port;

        public TCPThread(NI n) {
            super();
            _chat = n;
            _port = n.getPort();
        }
/*
        @Override
        public void run() {
            try {
                TCPServer server = new TCPServer(_port);
                TCPClient client = new TCPClient(server.accept());

            } catch (IOException ex) {
                Logger.getLogger(TCPThread.class.getName()).log(Level.SEVERE, null, ex);
            } */
        }